package com.airlines.crewassignment.entity.crew;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.airlines.crewassignment.domain.Tech;




/**
 * @author xxxx
 * @date 2018年5月22日 
 * @description 机组人员与飞行相关的信息实体类
 */


public class CrewInfoForAssign {
	private Date flightDate;
	private Boolean ableFly; //可以飞标识
	private String workcode;
	private String pCode;
	private String cName;
	private String pyAbbr;//拼音简写
	private Integer age;
	private String sex; //男女
	private String dutyCode; //F飞行员 C乘务员 A安全员
	private Boolean nationCn; //是否中国籍
	private String depName; //部门
	
	private String techZName; //排班授权名称
	private String techZLimit ;//排班授权限制

	private Integer flightDurationLastYear;  //近一年飞行时间（分钟）
	private Integer flightDurationLastMonth; //近一月飞行时间（分钟）
	private Integer dutyDurationLastMonth;	 //近一月执勤时间（分钟）
	private Integer dutyDurationLastWeek;	 //近一周执勤时间（分钟）
	
	private String lastCityName; //今日0点所在城市位置
	
	private List<Tech> techZList = new ArrayList<>(); //排班授权

	public Date getFlightDate() {
		return flightDate;
	}

	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}

	public Boolean getAbleFly() {
		return ableFly;
	}

	public void setAbleFly(Boolean ableFly) {
		this.ableFly = ableFly;
	}

	public String getWorkcode() {
		return workcode;
	}

	public void setWorkcode(String workcode) {
		this.workcode = workcode;
	}

	public String getPCode() {
		return pCode;
	}

	public void setPCode(String pCode) {
		this.pCode = pCode;
	}

	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	public String getPyAbbr() {
		return pyAbbr;
	}

	public void setPyAbbr(String pyAbbr) {
		this.pyAbbr = pyAbbr;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getDutyCode() {
		return dutyCode;
	}

	public void setDutyCode(String dutyCode) {
		this.dutyCode = dutyCode;
	}

	public Boolean getNationCn() {
		return nationCn;
	}

	public void setNationCn(Boolean nationCn) {
		this.nationCn = nationCn;
	}

	public String getDepName() {
		return depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public String getTechZName() {
		return techZName;
	}

	public void setTechZName(String techZName) {
		this.techZName = techZName;
	}

	public String getTechZLimit() {
		return techZLimit;
	}

	public void setTechZLimit(String techZLimit) {
		this.techZLimit = techZLimit;
	}

	public Integer getFlightDurationLastYear() {
		return flightDurationLastYear;
	}

	public void setFlightDurationLastYear(Integer flightDurationLastYear) {
		this.flightDurationLastYear = flightDurationLastYear;
	}

	public Integer getFlightDurationLastMonth() {
		return flightDurationLastMonth;
	}

	public void setFlightDurationLastMonth(Integer flightDurationLastMonth) {
		this.flightDurationLastMonth = flightDurationLastMonth;
	}

	public Integer getDutyDurationLastMonth() {
		return dutyDurationLastMonth;
	}

	public void setDutyDurationLastMonth(Integer dutyDurationLastMonth) {
		this.dutyDurationLastMonth = dutyDurationLastMonth;
	}

	public Integer getDutyDurationLastWeek() {
		return dutyDurationLastWeek;
	}

	public void setDutyDurationLastWeek(Integer dutyDurationLastWeek) {
		this.dutyDurationLastWeek = dutyDurationLastWeek;
	}

	public String getLastCityName() {
		return lastCityName;
	}

	public void setLastCityName(String lastCityName) {
		this.lastCityName = lastCityName;
	}

	public List<Tech> getTechZList() {
		return techZList;
	}

	public void setTechZList(List<Tech> techZList) {
		this.techZList = techZList;
	}

	
	
}
